package com.salemanagement.controller;

import com.salemanagement.service.StoreService;
import com.three.core.vo.R;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


@RestController
@RequestMapping("/saleManagement/store")
public class StoreController {
    @Autowired
    private StoreService storeService;
    @RequestMapping("/selectAllStore")
    public R findAllStore(){
        return storeService.selectStore();
    }

}
